//
//  IMNet.h
//  SportSocial
//
//  Created by yull on 14/12/10.
//  Copyright (c) 2014年 yull. All rights reserved.
//

#import "BaseNet.h"

@interface IMNet : BaseNet

+ (AFHTTPRequestOperation *)getIMServerWithSuccessBlock:(httpSuccessBlock)successBlock
                                              failBlock:(httpFailBlock)failBlock;

+ (AFHTTPRequestOperation *)sendPrivateAudioWithData:(NSData *)audioData
                                           receiveId:(UInt64)receiveId
                                        successBlock:(httpSuccessBlock)successBlock
                                           failBlock:(httpFailBlock)failBlock;

+ (AFHTTPRequestOperation *)sendPrivatePicWithData:(NSData *)picData
                                           receiveId:(UInt64)receiveId
                                        successBlock:(httpSuccessBlock)successBlock
                                           failBlock:(httpFailBlock)failBlock;

+ (AFHTTPRequestOperation *)sendGroupAudioWithData:(NSData *)audioData
                                           groupId:(UInt64)groupId
                                        successBlock:(httpSuccessBlock)successBlock
                                           failBlock:(httpFailBlock)failBlock;

+ (AFHTTPRequestOperation *)sendGroupPicWithData:(NSData *)picData
                                         groupId:(UInt64)groupId
                                      successBlock:(httpSuccessBlock)successBlock
                                         failBlock:(httpFailBlock)failBlock;

+ (AFHTTPRequestOperation *)getAudioWithUrl:(NSString *)audioUrl
                               successBlock:(httpSuccessBlock)successBlock
                                  failBlock:(httpFailBlock)failBlock;
@end
